package com.southwind.annotation;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class Person {

    @Value("张三")
    private String name;
    private int age;
    private String gender;
}
